<template>
  <slide-verify
    :l="42"
    :r="10"
    :w="310"
    :h="155"
    @success="onSuccess"
    @fail="onFail"
    @refresh="onRefresh"
    :slider-text="text"
  ></slide-verify>
</template>
<script>
export default {
  name: 'App',
  data() {
    return {
      msg: '',
      text: '向右滑'
    }
  },
  methods: {
    onSuccess() {
      this.$emit('popFUNC')
      this.onRefresh()
    },
    onFail() {},
    onRefresh() {}
  }
}
</script>
